﻿namespace GoodAdmin.Core;

/// <summary>
/// 列头模型.
/// </summary>
public class ExcelColumnHeaderModel
{
    /// <summary>
    /// 列名.
    /// </summary>
    public string? Column { get; set; }

    /// <summary>
    /// Excel列名.
    /// </summary>
    public string? ExcelColumn { get; set; }

    /// <summary>
    /// 宽度.
    /// </summary>
    public int Width { get; set; }

    /// <summary>
    /// 前景色.
    /// </summary>
    public IndexedColors ForeColor { get; set; }

    /// <summary>
    /// 背景色.
    /// </summary>
    public IndexedColors Background { get; set; }

    /// <summary>
    /// 字体.
    /// </summary>
    public string? Font { get; set; }

    /// <summary>
    /// 字号.
    /// </summary>
    public short Point { get; set; }

    /// <summary>
    /// 对齐方式
    /// left 左
    /// center 中间
    /// right 右
    /// fill 填充
    /// justify 两端对齐
    /// centerselection 跨行居中
    /// distributed.
    /// </summary>
    public string? Alignment { get; set; }
}
